package org.test.ddd.service.dto;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
@NoArgsConstructor
public class LoanRecordDTO {
    private long id;
    private int userId;
    private BigDecimal amount;//借款额度
    private int rate;//利率
    private BigDecimal returned;//已还款额度
    private Date createdAt;
}
